package com.timesheet.gui.efforttracker.editor;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.editor.FormEditor;
import org.eclipse.ui.forms.editor.FormPage;
import org.eclipse.ui.forms.editor.IFormPage;
import org.eclipse.ui.forms.widgets.FormToolkit;

public class FillEffortEditorPage extends FormPage implements IFormPage {

	public FillEffortEditorPage(FormEditor editor, String id, String title) {
		super(editor, id, title);
		// TODO Auto-generated constructor stub
	}
	
	 @Override
	   protected void createFormContent(IManagedForm managedForm) {
	      super.createFormContent(managedForm);
	      Composite client = managedForm.getForm().getBody();
	      client.setLayout(new GridLayout(2, false));
	      FormToolkit formToolkit = managedForm.getToolkit();
	      formToolkit.createLabel(client, "Name:");
	      formToolkit.createText(client, "", SWT.SINGLE|SWT.BORDER);
	   }

}
